<template>
  <view class="noticeLayout">
    <view class="title">
      <view class="tag">
        <uni-tag :inverted="true" text="置顶" type="error"></uni-tag>
      </view>
      <view class="font">贝贝搞前端</view>
    </view>

    <view class="info">
      <view class="item">贝贝</view>
      <view class="item">
        <uni-dateformat :date="Date.now()" format="yyyy/MM/dd hh:mm:ss" />
      </view>
    </view>

    <view class="content">心境高压韵如风,call me 英俊潇洒令狐冲</view>

    <view class="count"> 阅读8888 </view>
  </view>
</template>

<script setup></script>

<style lang="scss" scoped>
.noticeLayout {
  padding: 30rpx;
  .title {
    font-size: 40rpx;
    color: #111;
    line-height: 1.6em;
    padding-bottom: 30rpx;
    display: flex;
    .tag {
      transform: scale(0.8);
      transform-origin: left center;
      flex-shrink: 0;
    }
    .font {
      padding-left: 6rpx;
    }
  }
  .info {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 28rpx;
    .item {
      padding-right: 20rpx;
    }
  }
  .content {
    padding: 50rpx 0;
  }
  .count {
    color: #999;
    font-size: 28rpx;
  }
}
</style>
